/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.bff.slimserver.musicjukebox.lib.actions;

import org.bff.slimserver.SlimPlaylist;
import org.bff.slimserver.musicobjects.favorite.SlimFavoriteAudioDetails;

/**
 *
 * @author bill
 */
public abstract class FavoriteAction extends PlaylistAction {

    private SlimFavoriteAudioDetails favorite;

    public FavoriteAction(SlimPlaylist playlist, SlimFavoriteAudioDetails favorite) {
        super(playlist);
        this.favorite = favorite;
    }

    /**
     * @return the favorite
     */
    public SlimFavoriteAudioDetails getFavorite() {
        return favorite;
    }

    /**
     * @param favorite the favorite to set
     */
    public void setFavorite(SlimFavoriteAudioDetails favorite) {
        this.favorite = favorite;
    }
}
